call the base classes' object_init_func for derived objects with the
authorTim Janik <timj@gtk.org>
Sun, 12 Jul 1998 04:13:02 +0000 (04:13 +0000)
committerTim Janik <timj@src.gnome.org>
Sun, 12 Jul 1998 04:13:02 +0000 (04:13 +0000)
commit34b7b5d74e1d9ea81f772e9b571ae256af38459a
tree46fd83759830391d930aaa5e51da90b05992d84c
parentab7cb5019efe34e24fa3775c735d16ae3bb4a6d4
call the base classes' object_init_func for derived objects with the

Sun Jul 12 05:59:26 1998  Tim Janik  <timj@gtk.org>

        * gtk/gtktypeutils.c (gtk_type_new): call the base classes'
        object_init_func for derived objects with the object's ->klass field
        still pointing to the corresponding base class, otherwise overridden
        class functions could get called with partly-initialized objects.
        (change from Tero Pulkkinen <terop@modeemi.cs.tut.fi>).
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtktypeutils.c